import { App } from "vue";
import {
  ElButton,
  ElForm,
  ElFormItem,
  ElInput,
  ElTabs,
  ElTabPane,
  ElCheckbox,
  ElRadio,
  ElRadioGroup,
  ElLink
} from "element-plus";
import "element-plus/dist/index.css";
const components: any[] = [
  ElForm,
  ElFormItem,
  ElInput,
  ElButton,
  ElTabs,
  ElTabPane,
  ElCheckbox,
  ElRadio,
  ElRadioGroup,
  ElLink
];

function registerElements(app: App): void {
  for (const component of components) {
    app.component(component.name, component);
  }
}
export default registerElements;
